package com.ytktt.study.week7.task2.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * 订单信息
 *
 * @author ytk
 */
@Getter
@Setter
@ToString
public class OrderInfoEntity implements Cloneable {

    private String id;

    private Integer userId;

    private Integer itemId;

    private BigDecimal itemPrice;

    private Integer amount;

    private BigDecimal orderPrice;

    private Byte delFlag;

    private Byte status;

    private Timestamp createTime;

    private Timestamp updateTime;

    @Override
    public Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
